Skip to content

feat: unify error interface & upgrade got #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 27, 2020
Merged

Conversation

dkundel
Copy link
Contributor

@dkundel dkundel commented Apr 21, 2020

With this change we are not any longer returning or logging the raw HTTPError that could contain
auth credentials. Instead we are wrapping those errors. As part of those changes I also had to bump
Got to the latest version.

BREAKING CHANGE: Errors have different properties

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

With this change we are not any longer returning or logging the raw HTTPError that could contain
auth credentials. Instead we are wrapping those errors. As part of those changes I also had to bump
Got to the latest version.

BREAKING CHANGE: Errors have different properties
@dkundel dkundel requested a review from philnash April 21, 2020 01:25
Copy link
Contributor

@philnash philnash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a big update. I guess this should be a major version bump because of the new error message, though that is a good change.

The three comments I left aren't too much of a complaint. I think the most important one is the error that gets swallowed, would be good to straighten that out if possible.

@dkundel dkundel force-pushed the dkundel/upgrade-got branch from a6cebe8 to 41305ae Compare April 27, 2020 19:35
@dkundel dkundel merged commit a94e86e into master Apr 27, 2020
@dkundel dkundel deleted the dkundel/upgrade-got branch April 27, 2020 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants